# Description: Temel JPEG hızlandırmak için SIMD kullanan orijinal IJG libjpeg çatalı
# URL: http://libjpeg-turbo.virtualgl.org/
# Packager: milisarge
# Depends on: nasm 

name=libjpeg-turbo
version=1.4.2
release=1

source=(http://sourceforge.net/projects/libjpeg-turbo/files/$version/libjpeg-turbo-$version.tar.gz)

build() {
cd $name-$version
sed -i -e '/^docdir/ s:$:/libjpeg-turbo-1.4.2:' Makefile.in

./configure --prefix=/usr \
--mandir=/usr/share/man \
--with-jpeg8 --disable-static
make
make DESTDIR=$PKG install
}
